package com.songmao.pricecloudapitest.db;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author Remy
 * @description :
 * @date 2020-04-20 17:47
 */
@Mapper
@Component
public interface DBMapper {

    @Select("select * from ${tableName} where methodName=#{methodName}")
    List<Map<String, String>> get(String tableName, String methodName);
}
